package globals;

import org.newdawn.slick.Color;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.state.StateBasedGame;

public abstract class PauseAbstract {
	public Boolean isPaused;
	public int pauseState;
	public static final int initialState=0;
	public static final int playState=1;
	public static final int gameOverState=2;
	public int mouseX, mouseY;
	public static Color gray70=new Color(0, 0, 0, 178);
	
	public void setPause(int state){
		isPaused=true;
		pauseState=state;
	}
	public void togglePause(){
		isPaused=!isPaused;
	}
	public boolean getPause(){return isPaused;}
	
	public abstract void update(StateBasedGame sbg, int delta);
	public abstract void draw(Graphics g);
}
